home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
usenet
/
sources
/
volume91
/
libraris
/
sregexp9
/
part01
/
dmakefile
< prev
next >
Wrap
Makefile
|
1991-05-18
|
1KB
|
63 lines
OD = OBJS:sreg/
CSRC = sregexp.c sreg_version.c spath.c
COBJ = $(CSRC:"*.c":"$(OD)*.o")
OBJ = $(OD)clibrary.o $(OD)kludge.o $(COBJ)
JUNK = utils/try utils/remlib utils/bumprev
JUNKSRC = $(JUNK:"*":"*.c")
LINKLIBS = amigasr13.lib cr.lib
LIBRARY = sregexp.library
COPTS = -c -mRR -mS -proto
#COPTS = -c -mRR -mS -proto -D __DEBUG__
all : sregexpsr.lib sregexps.lib $(JUNK) $(LIBRARY)
$(JUNK) : $(JUNKSRC)
dcc -mRR -r -lsregexpsr -o %(left) %(right)
$(LIBRARY) : $(OBJ)
-Delete >NIL: %(left)
dlink -o %(left) $(OBJ) $(LINKLIBS)
utils/remlib $(LIBRARY)
Protect %(left) -E
$(OD)clibrary.o : clibrary.asm sreg_version.i
-Delete >NIL: %(left)
a68k -q -iAINC: -o%(left) clibrary.asm
$(OD)kludge.o : kludge.asm
-Delete >NIL: %(left)
das -o%(left) %(right)
$(COBJ) : $(CSRC)
-Delete >NIL: %(left)
dcc $(COPTS) -o %(left) %(right)
sregexpsr.lib : sregexp.fd sregexp_protos.h
-Delete >NIL: %(left)
fdtolib -mr sregexp.fd -o %(left) -h sregexp_protos.h
sregexps.lib : sregexp.fd
-Delete >NIL: %(left)
fdtolib sregexp.fd -o %(left)
sreg_version.i : $(CSRC) clibrary.asm kludge.asm utils/bumprev
utils/bumprev
touch sreg_version.i
clean :
-Delete $(JUNK)
-Delete $(OBJ)
-Delete sregexpsr.lib sregexps.lib
install :
Copy $(LIBRARY) Libs:
Copy sregexpbase.h dinclude:pd/libraries
Copy sregexp_protos.h dinclude:pd/clib
Copy sregexps.lib dlib:
Copy sregexpsr.lib dlib: